package com.qijian.maindata.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.annotation.KingDeeField;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 边际绩效-绩效对象 fin_cost_report_detail_performance
 *
 * @author qijian
 * @date 2024-12-03
 */

@Data
public class CostReportDetailPerformanceDto {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "开工令")
    private String projectMachineNo;

    @ApiModelProperty(value = "预算类型")
    private String content;

    @ApiModelProperty(value = "内容")
    private String contentType;

    @ApiModelProperty(value = "内容成本")
    private BigDecimal contentCost;

    @ApiModelProperty(value = "预算成本")
    private BigDecimal budgetCost;

    @ApiModelProperty(value = "实际差额(预算-实际)")
    private BigDecimal performanceGap;

    @ApiModelProperty(value = "原始内容")
    private String originContentType;

    @Excel(name = "是否扣除绩效0 扣除 1不扣除")
    @ApiModelProperty(value = "是否扣除绩效0 扣除 1不扣除")
    private String performanceFlag;

    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
